package com.bootcamp.idea1125.config;

import com.bootcamp.idea1125.properties.UserProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @program: spring-boot
 * @description:
 * @author: Keyu Li
 * @create: 2021-11-26 15:02
 **/

@Configuration
@EnableConfigurationProperties(UserProperties.class)
public class UserConfiguration {

    UserProperties userProperties;

    public UserConfiguration(UserProperties userProperties) {
        this.userProperties = userProperties;
    }
}